package org.example;

/**
 * @BelongsProject: study
 * @BelongsPackage: org.example
 * @Author: zhangzhanheng
 * @CreateTime: 2023-03-15  21:37
 * @Description: demo
 * @Version: 1.0
 */
public class Demo {
    public static void main(String[] args) {
        ClassLoader c = Demo.class.getClassLoader();
        System.out.println(c.getClass().getSimpleName());
        ClassLoader parent = c.getParent();
        System.out.println(parent.getClass().getSimpleName());
        ClassLoader parent1 = parent.getParent();
        System.out.println(parent1);
    }
}
